const w_slice=(x:Array<any>|string,i:number,n:number)=>x.slice(i,i+n);